<switch name="data.type">
    <case value="text">{:W("Text/".$data['met'], array($data))}</case>
    <case value="image">{:W("Image/".$data['met'], array($data))}</case>
    <case value="voice">{:W("Voice/".$data['met'], array($data))}</case>
    <case value="video">{:W("Video/".$data['met'], array($data))}</case>
    <case value="location">{:W("Location/".$data['met'], array($data))}</case>
    <case value="link">{:W("Link/".$data['met'], array($data))}</case>
    <case value="event">{:W('Event/'.$data['met'], array($data))}</case>
    <default />default
</switch>